package com.yami.shop.bean.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author wxf
 * @date 2023/5/17 17:49
 */
@Data
@Schema(description ="用户搜索博客数据")
public class UserSearchBlogDTO {

    @Schema(description = "当前用户id")
    private String currentId;

    @Schema(description = "查询类型  0-广场 1-圈子 2-用户")
    @NotBlank
    private Integer type;

    @Schema(description = "查询内容")
    private String content;

    @Schema(description = "来源 00-首页查询")
    private String source;
}
